using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using TaugeLibrary.Interfaces;
using TaugeLibrary.Classes;
using TaugeFramework.Classes;
using TaugeLibrary.UserControls;
using TaugeLibrary.Classes.Abstracts;

namespace TaugeFramework.BusinessUnit.User
{
    public partial class UserUI : ABusinessUnitUI
    {

        private int m_userid;
        public int UserId { get { return m_userid; } set { m_userid = value; } }

        public UserUI(ITaugeFramework p_framework,ABusinessUnit p_unit):base(p_framework, p_unit)
        {
            
            InitializeComponent();
            TaugeListItem [] _typelist = new TaugeListItem[]{new TaugeListItem("USER",eUserType.USER)
                                                                ,new TaugeListItem("GROUP",eUserType.GROUP)};            
            cboUserType.Items.Clear();
            foreach (TaugeListItem i in _typelist)
                cboUserType.Items.Add(i);
            //cboUserType.DataSource = _typelist;
            
            
        }
       
        private void UserUI_Load(object sender, EventArgs e)
        {
            
        }

        
    }
}
